#include "mainwindow.h"

#include <QApplication>
#include <QVector>
#include <QDir>
#include <QDebug>
#include <QMainWindow>
#include <QMdiArea>

#include "appsettings.h"
#include "objectsloader.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    AppSettings& appSettings = AppSettings::getInstance();
    appSettings.configPath = QDir("../objects").absolutePath();
    appSettings.defaultFontFamily = "Arial";

    ObjectsLoader::getInstance().scanConfigs();

    MainWindow w;
    w.show();

    return a.exec();
}
